const init = {
    actions: {},   // 存储qiankun的全局状态，用于父子通信
    loadMicroApp: {},   // 存储qiankun的loadMicroApp方法，用于手动加载子应用
};
const Qiankun = (state = init, action) => {
  switch (action.type) {
    case "SET_QIANKUN_STATE":
        return { ...state, ...action.data }
    default:
        return state;
  }
};

export default Qiankun;
